#pragma once

#include "xml/xml_pack.hpp"

namespace topcvt
{
	class Cnaps2Pack : public XmlPack
	{
		string m_signStr;
	public:
		Cnaps2Pack() {};
		virtual ~Cnaps2Pack() {};

		virtual string packPolicy(PolicyContext& ctx, PolicyCfg& cfg)  override;
		virtual void packField(pugi::xml_node& node, FieldCfg& cfg, PolicyContext& ctx)  override;
		virtual void checkElementCfgValid(AttributeableCfg& cfg) override;
	};
};